package com.vincent;

import com.vincent.jvmtest.config.Hepler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author vincent
 * @DATE 2018/11/19
 * @Description
 */
@Component
public class TestBootstrap implements CommandLineRunner {
    @Autowired
    private Hepler hepler;
    @Override
    public void run(String... args) throws Exception {
        hepler.init();
    }
}
